package org.acghub.config.reader;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Workbook;

import java.io.File;
import java.io.FileInputStream;

/**
 * @Desc
 * @Author miyuki4j
 * @Date 2025/7/24/星期四 11:24
 * @Version 1.0
 */
public class XlsTableReader extends AbstractExcelTableReader {
    @Override
    protected Workbook newWorkbook(File file) throws Exception {
        return new HSSFWorkbook(new FileInputStream(file));
    }
}
